$(document).ready(function() {
	$('#header h1').click(function() {
		window.location.href = "/";		
	});
	
	var location = window.location.href.replace(/^[^\/]+\/\/[^\/]+/, '');

	$('#page h2 a[href=' + location + ']').addClass('active');
});